new Vue({
	el:"#app",
	data:{
		message:"欢迎来到Vue.js",
		job:"程序员",
		logname:"",
	},
	methods:{
		greet1:function(){
			var aa=5
			return aa; 此处可以写js代码
		},
		greet2:function(data){
			return data
		},
		greet3:function(data){
			return this.job
		},
		lognames:function(){
			this.logname = this.$refs.name.value;
		}
	}
});
